package com.teng.smartdrawer.bean;

import java.io.Serializable;

/**
 * Created by teng on 16/3/24.
 */
public class Component extends Recommend implements Serializable{


    /**
     * m_id : 2
     * m_cid : 4
     * m_tid : 4
     * m_name : 二极管
     * m_model :
     * m_number : 664
     * m_imgpc :
     * m_imgphone : 1.jpg
     * m_information : c.doc
     * m_introduction : 发光二极管也在里面
     */

    private String m_id;
    private String m_cid;
    private String m_tid;
    private String m_name;
    private String m_model;
    private int m_number;
    private String m_imgpc;
    private String m_imgphone;
    private String m_information;
    private String m_introduction;
    private String m_fixed_num;

    private int count;  // 存取的数量

    private  boolean checked;   // 删除时是否会选中

    private int m_neednum;

    public int getM_neednum() {
        return m_neednum;
    }

    public void setM_neednum(int m_neednum) {
        this.m_neednum = m_neednum;
    }

    public boolean isChecked() {
        return checked;
    }

    public void setChecked(boolean checked) {
        this.checked = checked;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public String getM_id() {
        return m_id;
    }

    public void setM_id(String m_id) {
        this.m_id = m_id;
    }

    public String getM_cid() {
        return m_cid;
    }

    public void setM_cid(String m_cid) {
        this.m_cid = m_cid;
    }

    public String getM_tid() {
        return m_tid;
    }

    public void setM_tid(String m_tid) {
        this.m_tid = m_tid;
    }

    public String getM_name() {
        return m_name;
    }

    public void setM_name(String m_name) {
        this.m_name = m_name;
    }

    public String getM_model() {
        return m_model;
    }

    public void setM_model(String m_model) {
        this.m_model = m_model;
    }

    public int getM_number() {
        return m_number;
    }

    public void setM_number(int m_number) {
        this.m_number = m_number;
    }

    public String getM_imgpc() {
        return m_imgpc;
    }

    public void setM_imgpc(String m_imgpc) {
        this.m_imgpc = m_imgpc;
    }

    public String getM_imgphone() {
        return m_imgphone;
    }

    public void setM_imgphone(String m_imgphone) {
        this.m_imgphone = m_imgphone;
    }

    public String getM_information() {
        return m_information;
    }

    public void setM_information(String m_information) {
        this.m_information = m_information;
    }

    public String getM_introduction() {
        return m_introduction;
    }

    public void setM_introduction(String m_introduction) {
        this.m_introduction = m_introduction;
    }

    public String getM_fixed_num() {
        return m_fixed_num;
    }

    public void setM_fixed_num(String m_fixed_num) {
        this.m_fixed_num = m_fixed_num;
    }

    @Override
    public String toString() {
        return "Component{" +
                "m_id='" + m_id + '\'' +
                ", m_cid='" + m_cid + '\'' +
                ", m_tid='" + m_tid + '\'' +
                ", m_name='" + m_name + '\'' +
                ", m_model='" + m_model + '\'' +
                ", m_number=" + m_number +
                ", m_imgpc='" + m_imgpc + '\'' +
                ", m_imgphone='" + m_imgphone + '\'' +
                ", m_information='" + m_information + '\'' +
                ", m_introduction='" + m_introduction + '\'' +
                ", count=" + count +
                ", checked=" + checked +
                '}';
    }
}
